package cc.telecomdigital.tdstock.activity.groups.more.push.client;

public class NotifierCounter
{

	private static NotifierCounter	instance	= null;
	private static int				counter	= 0;

	public synchronized static NotifierCounter getInstnace()
	{
		if (instance == null)
		{
			counter = 0;
			instance = new NotifierCounter();
		}
		return instance;
	}

	public synchronized int getCounter()
	{
		return counter;
	}

	public synchronized void addCounter()
	{
		counter++;
	}

	public synchronized void clearCounter()
	{
		counter = 0;
	}

}
